TotalContest\Contest\Model D

Total Complexity 224
Dependencies 22
Dependents 9
Total lines 2,205
Lines of code 921
Logical lines of code 412
Comment lines 984
Methods 109
Properties 25

Methods 109

Method Rating Maintainability Complexity Lines of code
getUrl()
C
35 25 72
__construct()
B
36 17 69
getMenuItems()
A
45 11 41
getAjaxUrl()
A
52 8 22
getSortByItems()
S
41 2 78
getSettings()
S
61 6 11
getPaginationItems()
S
54 5 21
getFilterByItems()
S
45 3 49
toArray()
S
51 4 27
getSubmissionsWithPagination()
S
54 4 20
getCustomPage()
S
62 4 12
getSeoAttributes()
S
58 3 15
getCategories()
S
58 3 15
isAcceptingSubmissions()
S
60 3 14
save()
S
59 3 14
getShareAttributes()
S
53 2 23
getSortDirectionItems()
S
51 1 33
getFormFields()
S
65 3 9
isCustomPageScreen()
S
77 3 3
getTimeLeftToEnd()
S
65 3 8
getTimeLeftToStart()
S
65 3 8
hasCategoryField()
S
67 3 8
getSubmissionsRows()
S
70 3 5
getSubmissions()
S
57 1 17
getEndDate()
S
73 2 4
getErrorMessage()
S
78 2 3
setCurrentPage()
S
79 2 3
setError()
S
77 2 3
getContext()
S
80 2 3
getColumnWidth()
S
75 2 4
getSubmissionsCount()
S
69 2 6
render()
S
66 2 9
getFormFieldsDefinitions()
S
68 2 7
getThumbnail()
S
70 2 5
getPermalink()
S
69 2 6
getStartDate()
S
73 2 4
getForm()
S
71 2 6
getVoteFormFieldsDefinitions()
S
68 2 7
isCustomPage()
S
79 2 3
getBlocksDefinitions()
S
74 2 4
isCountVoting()
S
80 1 3
getParticipateUrl()
S
78 1 3
getVotesNumber()
S
80 1 3
__toString()
S
80 1 3
getLandingAjaxUrl()
S
78 1 3
getLandingUrl()
S
78 1 3
getVotesWithLabel()
S
74 1 4
jsonSerialize()
S
81 1 3
isRateVoting()
S
80 1 3
isPasswordProtected()
S
80 1 3
getAdminEditLink()
S
79 1 3
getParticipateAjaxUrl()
S
78 1 3
isParticipateScreen()
S
80 1 3
getSortBy()
S
82 1 3
setContext()
S
76 1 4
incrementVotes()
S
73 1 5
getReceivedVotes()
S
82 1 3
isSubmissionScreen()
S
80 1 3
isSubmissionsScreen()
S
80 1 3
isLandingScreen()
S
80 1 3
getSubmissionsUrl()
S
78 1 3
isScreen()
S
80 1 3
getVotesFromLogs()
S
66 1 9
getAdminSubmissionsLink()
S
79 1 3
getAdminLogLink()
S
79 1 3
getCustomPageAjaxUrl()
S
77 1 3
getCustomPageUrl()
S
77 1 3
getSubmissionsAjaxUrl()
S
78 1 3
getVotes()
S
80 1 3
getPrefix()
S
78 1 3
getVoteCriteria()
S
79 1 3
setForm()
S
80 1 3
getPreviousPagePaginationItem()
S
64 1 9
hasPreviousPage()
S
81 1 3
getRestrictions()
S
82 1 3
getLimitations()
S
82 1 3
getMenuItemVisibility()
S
79 1 3
getContestPost()
S
82 1 3
setFormResolver()
S
77 1 4
isUsingBlocks()
S
79 1 3
getNextPagePaginationItem()
S
64 1 9
getTitle()
S
82 1 3
getAction()
S
82 1 3
getId()
S
81 1 3
getSettingsItem()
S
69 1 7
getDefaultPage()
S
79 1 3
hasLandingPage()
S
75 1 4
setSorting()
S
73 1 5
hasNextPage()
S
79 1 3
getError()
S
82 1 3
getVoteType()
S
79 1 3
getMenuVisibility()
S
82 1 3
getVoteScale()
S
79 1 3
getPresetUid()
S
79 1 3
getTemplateId()
S
79 1 3
setMenuItemsVisibility()
S
76 1 4
getMenuItemsVisibility()
S
82 1 3
setMenuItemVisibility()
S
76 1 4
setMenuVisibility()
S
76 1 4
setCustomPageId()
S
76 1 4
hasError()
S
80 1 3
getCustomPageId()
S
82 1 3
getCustomPages()
S
65 1 9
setScreen()
S
76 1 4
getScreen()
S
82 1 3
setFilter()
S
73 1 5
setAction()
S
79 1 3
getCurrentPage()
S
82 1 3
getSortDirection()
S
82 1 3